package com.medical.literature.document.dto;

import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 文献信息响应DTO
 */
@Data
public class LiteratureResponse {
    
    private Long id;
    private String title;
    private String authors;
    private String abstractText;
    private String keywords;
    private String journal;
    private LocalDate publicationDate;
    private String doi;
    private String fileName;
    private Long fileSize;
    private String fileType;
    private Integer status;
    private Integer recognitionStatus;
    private Long uploadUserId;
    private String uploadUserName;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Boolean isFavorite; // 是否已收藏
    
    // 手动添加getter和setter方法
    public Long getId() {
        return id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    
    public Boolean getIsFavorite() {
        return isFavorite;
    }
    
    public void setIsFavorite(Boolean isFavorite) {
        this.isFavorite = isFavorite;
    }
}